package com.un.ebs.memorial.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/3/12 13:52
 */
@Getter
public enum MemorialResourceTypeEnum implements IEnum {

    BG_Image(0, "背景图片"),
    BG_Music(1, "背景音乐");

    MemorialResourceTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
